package com.xbongbong.pro.detailtab.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author jiyonghui
 * @className ChangeDocumentStatusSaveDTO
 * @description
 * @date 2020/1/9   15:42
 */
@Getter
@Setter
@ToString
public class ChangeDocumentStatusSaveDTO extends BaseDTO {

    private static final long serialVersionUID = 8835522017290921477L;

    /**
     * 业务类型
     */
    private Integer businessType;
    /**
     * 数据id
     */
    @NotNull(message = "数据id不可为空")
    private Long dataId;

    /**
     * 开启或关闭
     */
    @NotNull(message = "参数缺失")
    private Boolean isOpen;

    /**
     * 经销商标示
     */
    private Integer distributorMark;

}
